﻿using Basic.Oss.Const;

namespace Basic.Oss.Options
{
    /// <summary>
    /// 文件存储配置
    /// </summary>
    public class FileStorageOption
    {
        /// <summary>
        /// 文件存储方式
        /// </summary>
        public EnumStorageType StorageType { get; set; }

        /// <summary>
        /// 本地存储配置[EnumStorageType.LocalStorage]
        /// </summary>
        public LocalStorageOption LocalStorage { get; set; }

        /// <summary>
        /// 阿里云存储配置[EnumStorageType.AliYunOss]
        /// </summary>
        public AliOssOptions AliOssConfig { get; set; }

    }
}